﻿using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Messaging;
using Tp.Dto.EventArgs;
using Tp.Interfaces.Commands.BusinessCases;
using Tp.Interfaces.ViewModels.BusinessCases;

namespace Tp.GeschaeftsfaelleViewModel
{
	  public class AnfragenUserControlViewModel : ViewModelBase, IAnfragenUserControlViewModel
	  {

			#region Members

			private string titel = "Anfragen";

			#endregion

			#region Properties

			public string MyTitel
			{
				  get { return this.titel; }
				  set { this.titel = value; }
			}

			IAnfragenViewModelCommands Commands { get; set; }

			#endregion

			#region C-Tor

			public AnfragenUserControlViewModel(IAnfragenViewModelCommands commands)
			{
				  this.Commands = commands;
				  this.RegisterMessengers();
			}

			#endregion

			#region Messengers
			
			private void RegisterMessengers()
			{
				  Messenger.Default.Register<GeschaeftsfallOperationEventArgs>(this, ExecuteMessage);
			}

			#endregion

			#region Methods 

			private void ExecuteMessage(GeschaeftsfallOperationEventArgs ea)
			{
			}

			#endregion

	  }
}
